
import Vue from 'vue'
import Router from 'vue-router'

// 应用路由插件
Vue.use(Router)

// 创建一个路由器
export default new Router({
    routes: [
        {
            path: '/',
            name: 'Home',
            meta: {
                title: '首页'
            },
            component: () => import('@/views/Home.vue'),
        },
        {
            path: '/sqt',
            name: 'Sqt',
            meta: {
                title: '诉求通'
            },
            component: () => import('@/views/Sqt.vue'),
        },
        {
            path: '/zct',
            name: 'Zct',
            meta: {
                title: '政策通'
            },
            component: () => import('@/views/Zct.vue'),
        },
        {
            path: '/hdt',
            name: 'Hdt',
            meta: {
                title: '活动通'
            },
            component: () => import('@/views/Hdt.vue'),
        },
        {
            path: '/sct',
            name: 'Sct',
            meta: {
                title: '市场通'
            },
            component: () => import('@/views/Sct.vue'),
        },
        {
            path: '/jrt',
            name: 'Jrt',
            meta: {
                title: '金融通'
            },
            component: () => import('@/views/Jrt.vue'),
        },
        {
            path: '/ztt',
            name: 'Ztt',
            meta: {
                title: '载体通'
            },
            component: () => import('@/views/Ztt.vue'),
        },
        {
            path: '/zwt',
            name: 'Zwt',
            meta: {
                title: '政务通'
            },
            component: () => import('@/views/Zwt.vue'),
        },
    ]
})
